<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:icecore="http://www.icefaces.org/icefaces/core"
	xmlns:ace="http://www.icefaces.org/icefaces/components"
	xmlns:ice="http://www.icesoft.com/icefaces/component">
<f:view locale="#{localeBean.currentLocale}" />
<h:head>
	<title>MOJ</title>
</h:head>
<h:body>
	<ui:composition template="/template/masterTemplate.xhtml">
		<ui:define name="content">
			<h:form >
			<h:panelGrid columns="3" id="content">
				<h:graphicImage library="#{localeBean.currentLocale}/img" name="1.jpg"/>
				<h:graphicImage library="#{localeBean.currentLocale}/img" name="2.jpg"/>
				<h:graphicImage library="#{localeBean.currentLocale}/img" name="3.jpg"/>
				<h:graphicImage library="#{localeBean.currentLocale}/img" name="3.jpg"/>	
				<h:commandLink value="#{msgs['add.label.drawing']}" action="/pages/drawingDoc/searchDrawingDoc.xhtml?faces-redirect=true"/>
				<h:commandLink value="#{msgs['add.label.realStateDoc']}" action="/pages/realtyDoc/searchRealtyDoc.xhtml?faces-redirect=true"/>
				<h:commandLink value="#{msgs['add.label.trnsctionF']}" action="/pages/transactionfile/transactionFilesSearch.xhtml?faces-redirect=true"/>
				<h:commandLink value="admin" rendered="#{userBean.isAdmin}" action="/pages/admin.xhtml?faces-redirect=true"/>
			</h:panelGrid>
			
		</h:form>
		<form id="logoutForm" name="logoutForm" method="post"
		action="archive-web/j_spring_security_logout">
		<input value="Logout" type="submit" class="btn" />
		</form>
	 	</ui:define>
	</ui:composition>
</h:body>
</html>